<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form" action=""  method="post" id="cp-form">

            <div class="layui-form-item">
                <label class="layui-form-label">用户 <span class="request-tips">*</span></label>
                <div class="layui-input-block">
                    <div id="user" ></div>
                    <input type="hidden" name="uid" required  lay-verify="required" placeholder="用户" autocomplete="off" class="layui-input">
                    <div class="layui-form-mid layui-word-aux">用户名一旦设置就不能在更改</div>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">状态 <span class="request-tips">*</span></label>
                <div class="layui-input-inline">
                    <select name="status" id="">
                        <option value="0">禁用</option>
                        <option value="1" selected>启用</option>
                    </select>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <div class="layui-text">带 * 号的为必填项</div>
                    <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                    <a href="{:url('admin/user.apiuser/index')}" class="layui-btn layui-btn-primary" >返回</a>
                </div>
            </div>
        </form>
    </div>
</div>
